package com.lcu.bos.service.base;

import java.io.Serializable;
import java.util.List;

public interface IBaseService<T>{
    //增
    public void  save(T entity);
    //删
    public  void  delete(T entity);
    //改
    public  void  update (T entity);
    //查(id)
    public  T find(Serializable id);
    //查询所有数据
    public List<T> findAll();
}
